package liuyang.bigeventserver.common.pagination;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 视频：
 * https://www.bilibili.com/video/BV14z4y1N7pg/?p=34&spm_id_from=pageDriver&vd_source=8bd7b24b38e3e12c558d839b352b32f4
 * @author xconf
 * @since 2024/3/3
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResultPage<T> {
    private Long total;// 总条数
    private List<T> items;// 当前页记录集合
}
